package me.wanghongyu.railwayquery.model;


import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public class Ticket {
	private final String name;
	private final double price;
	private final int amount;

	@Override
	public String toString() {
		return "Ticket{" +
				"name='" + name + '\'' +
				", price=" + price +
				'}';
	}

}
